package com.teamwork.module01.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.teamwork.common.entity.module01.Class;
import com.teamwork.common.result.Result;

import java.util.List;

public interface ClassService extends IService<Class> {
    Result getByName(String name);

    Result getPage(Integer page, Integer size);

    Result InsertOrUpdate(Class one);

    Result deleteById(Integer id);

    Result batchDelete(List<Integer> ids);
}
